﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppWorks.Domain.Events
{
    /// <summary>
    /// 事件总线
    /// </summary>
    public class EventBus
    {
        public static IEnumerable<IEventHandler<T>> Resolve<T>() where T : Event
        {
            return null;
        }

        public static void Register<T>(IEventHandler<T>[] handlers) where T : Event
        { }
    }
}
